package com.sys.management.mapper.service;


import com.sys.management.mapper.InformationMapper;
import com.sys.management.pojo.employeeinformation;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class informationService {
    @Resource
    private InformationMapper informationMapper;

    public List<employeeinformation> selectall(){
        List<employeeinformation> employeeinformations = informationMapper.selectList(null);
        return employeeinformations;
    }
}
